package com.happyhome.datamodel;

import static com.mysema.query.types.PathMetadataFactory.*;

import com.mysema.query.types.*;
import com.mysema.query.types.path.*;


/**
 * QUserRole is a Querydsl query type for UserRole
 */
public class QUserRole extends EntityPathBase<UserRole> {

    private static final long serialVersionUID = -2072475092;

    private static final PathInits INITS = PathInits.DIRECT;

    public static final QUserRole userRole = new QUserRole("userRole");

    public final StringPath id = createString("id");

    public final StringPath role = createString("role");

    public final QUser user;

    public QUserRole(String variable) {
        this(UserRole.class, forVariable(variable), INITS);
    }

    public QUserRole(PathMetadata<?> metadata) {
        this(metadata, metadata.isRoot() ? INITS : PathInits.DEFAULT);
    }

    public QUserRole(PathMetadata<?> metadata, PathInits inits) {
        this(UserRole.class, metadata, inits);
    }

    public QUserRole(Class<? extends UserRole> type, PathMetadata<?> metadata, PathInits inits) {
        super(type, metadata, inits);
        this.user = inits.isInitialized("user") ? new QUser(forProperty("user")) : null;
    }

}

